package campus.aiit.ssl.util.deprecated;

import java.util.Map;

/**
 * @author ihaokun
 * @date 2019/12/1 18:08
 */
public interface IDao<T> {
  Map<String, Object> selectByPrimaryKey(long id, String tableName);

  int deleteByPrimaryKey(Long id);

  int insertSelective(T record);

  int updateByPrimaryKeySelective(T record);
}